package com.zzedu.framework.web.service;

import com.zzedu.common.core.domain.entity.SysUser;

/**
 * 登录密码方法
 *
 * @author smarthome
 */
public interface SysPasswordService {


    public void validate(SysUser user, String password);

    public void clearLoginRecordCache(String loginName);

    public boolean matches(SysUser user, String newPassword);
    public String encryptPassword(String password);
}
